package org.maxkey.portal.service;

import org.maxkey.portal.core.cam.PageResultData;
import org.maxkey.portal.core.cam.ResultData;
import org.maxkey.portal.core.search.ParamModel;
import org.maxkey.portal.core.search.model.DocParam;
import org.maxkey.portal.model.Doc;

public interface DocService {

    ResultData findById(Integer id);

    ResultData findAll();

    PageResultData findList(ParamModel<DocParam> searData);

    ResultData deleteById(Long id);

    ResultData save(Doc doc);
}
